package com.itlong.cloud.service;

import com.itlong.cloud.POJO.PO.DeviceBusinessElevatorChangeLogPO;

import java.util.List;

/**
 * <desc>
 *      云电梯设备服务管理接口
 * </desc>
 *
 * @createDate 2018/04/03
 */
public interface ICloudElevatorChangeBusinessService {
    /**
     * <desc>
     *     云电梯_批量保存设备端推送指令
     * </desc>
     *
     * @param deviceBusinessElevatorChangeLogPOs
     * @return
     * @throws Exception
     * @author Jiaqi.X
     * @createDate 2018/04/03
     */
    Integer saveDeviceBusinessChangeLogBatch(List<DeviceBusinessElevatorChangeLogPO> deviceBusinessElevatorChangeLogPOs) throws Exception;

    /**
     * <desc>
     *     根据房间ID查询对应的楼栋与单元ID
     * </desc>
     *
     * @param roomId
     * @return
     * @author Jiaqi.X
     * @createDate 2018/04/03
     */
    String deviceChangeLogGetBuildAndUnitIdByRoomId(String roomId);

    /**
     * <desc>
     *     根据设备唯一码查询设备电梯类型
     * </desc>
     *
     * @param deviceUnique 设备唯一码
     * @return
     * @author JuGuang.S
     * @createDate 2018/06/13
     */
    Integer findElevatorTypeByDeviceUnique(String deviceUnique);


}
